Landed Cost Estimate GET
URI
https://{DATACENTER}.brightpearlconnect.com/public-api/{ACCOUNT}
/order-service/order/{order-id}/landedcost-estimate
Refer to our documentation on URI syntax for more information on how to construct URIs.
Description
Returns the landed cost estimates that have been entered for this order
Field | Description |
---|---|
id | The Id of the landed cost estimate |
orderRowId | The Id of the Order Row. |
unitAdjustmentOriginalCurrency | The adjustment amount in the original currency |
unitAdjustmentBaseCurrency | The adjustment amount in the base currency |
payableSupplierId | The ID of the supplier who should be paid for this cost |
reference | The reference entered by use when creating the landed costs |
nominalCode | The accounting code for the landed cost |
currencyId | The Id of the Currency. |
poRowQty | The quantity from the Purchase Order Row |
exchangeRate | The exchange rate used by landed cost |
Example
Request URI
/order/100182/landedcost-estimate
Response
{
"response": [
{
"id": 73,
"orderRowId": 58,
"unitAdjustmentOriginalCurrency": 2,
"unitAdjustmentBaseCurrency": 2,
"payableSupplierId": 293,
"reference": "3333",
"nominalCode": "0010",
"currencyId": 1,
"poRowQty": 10,
"exchangeRate": 1
},
{
"id": 78,
"orderRowId": 59,
"unitAdjustmentOriginalCurrency": 1,
"unitAdjustmentBaseCurrency": 1,
"reference": "1",
"nominalCode": "0010",
"currencyId": 1,
"poRowQty": 100,
"exchangeRate": 1
},
{
"id": 79,
"orderRowId": 59,
"unitAdjustmentOriginalCurrency": 0.15,
"unitAdjustmentBaseCurrency": 0.15,
"reference": "32323",
"nominalCode": "0010",
"currencyId": 1,
"poRowQty": 100,
"exchangeRate": 1
},
{
"id": 81,
"orderRowId": 59,
"unitAdjustmentOriginalCurrency": 0.02,
"unitAdjustmentBaseCurrency": 0.02,
"reference": "22332",
"nominalCode": "0010",
"currencyId": 1,
"poRowQty": 100,
"exchangeRate": 1
}
]
}